import {ElMessage, ElMessageBox} from "element-plus";
export default function ({code, message}){
    if(!code || !message) return;
    if(code === 200){
        ElMessage.success(message)
    }else{
        ElMessage.error(message)
    }
}
